package com.sh.data.engine.application.model.dto.normalization.modeldesign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : changkong
 * @date : 2022/1/6
 */
@Data
@Builder
@Schema
@NoArgsConstructor
@AllArgsConstructor
public class ModelListResponse {

    @Schema(name = "tblPropId", description = "matrix")
    private Long id;

    @Schema(description = "tableId")
    private Long tblId;

    @Schema(description = "模型中文名称")
    private String cnName;

    @Schema(description = "模型英文名称")
    private String enName;

    @Schema(description = "hana schema")
    private String schema;

    @Schema(title = "table type", description = "view or table")
    private String tableType;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "表大小")
    private String showTableSize;

    @Schema(description = "表类型")
    private String modelType;

    @Schema(description = "是否存在关联表")
    private boolean hasRelation;

    @Schema(description = "密级")
    private String secretLevel;

    @Schema(description = "密级")
    private Long dataSecretId;
}
